package models

import (
	"time"
)

// YhManager undefined
type Manager struct {
	ID            int64     `json:"id" gorm:"id"`
	Account       string    `json:"account" gorm:"account"`
	Name          string    `json:"name" gorm:"name"`
	Email         string    `json:"email" gorm:"email"`
	Password      string    `json:"password" gorm:"password"`
	RememberToken string    `json:"remember_token" gorm:"remember_token"`
	CreatedAt     time.Time `json:"created_at" gorm:"created_at"`
	UpdatedAt     time.Time `json:"updated_at" gorm:"updated_at"`
	RoleId        int64     `json:"role_id" gorm:"role_id"`
}

// TableName 表名称
func (*Manager) TableName() string {
	return "dg_manager"
}